package com.zcl.javaClassAndObject.exception;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/14  11:42
 */
public class NeverCaught {
    static void f() {
        throw new RuntimeException("From f()");
    }

    static void g() {
        f();
    }

    public static void main(String[] args) {
        g();
    }
}
/**
 * Exception in thread "main" java.lang.RuntimeException: From f()
 * 	at com.zcl.javaClassAndObject.exception.NeverCaught.f(NeverCaught.java:10)
 * 	at com.zcl.javaClassAndObject.exception.NeverCaught.g(NeverCaught.java:14)
 * 	at com.zcl.javaClassAndObject.exception.NeverCaught.main(NeverCaught.java:18)
 * */
